/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package aso.upna.cancion;

/**
 *
 * @author triki
 */
public class SequencedCancion {

    private AbstractCancion cancion;
    private int pos;

    public SequencedCancion()
    {
        cancion = null;
        pos = 0;
    }

    public SequencedCancion(AbstractCancion can,int pos)
    {
        cancion = can;
        this.pos = pos;
    }

    public void addCancion(AbstractCancion can,int pos)
    {
        cancion = can;
        this.pos = pos;
    }

    public int getPosition()
    {
        return pos;
    }

    public AbstractCancion getCancion()
    {
        return cancion;
    }
}
